-
Notifications
You must be signed in to change notification settings - Fork 1.4k
[main] replace rootbrowse.py with C++ version #19722
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
28f1346
to
797cf93
Compare
Test Results 21 files 21 suites 4d 1h 41m 31s ⏱️ For more details on these failures, see this check. Results for commit b717f19. ♻️ This comment has been updated with latest results. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reporting from my MacOS 15 machine:
- calling
rootbrowse
by default starts the webgui, which just hangs and does not produce anything on screen:
08:56:03 (rootdev) vpadulan@vpadulan-macbook rootproject → rootbrowse
ROOT comes with a web-based browser, which is now being started.
Revert to TBrowser by setting "Browser.Name: TRootBrowser" in rootrc file or
by starting "root --web=off"
Find more info on https://root.cern/for_developers/root7/#rbrowser
Info in <THttpEngine::Create>: Starting HTTP server on port 127.0.0.1:8846
Press ctrl+c to exit.
- setting "Browser.Name: TRootBrowser" in rootrc does not work,
rootbrowse
does not pick up the option and still tries to start the web graphics
@linev the fact that the web graphics hang on MacOS is troublesome
@vepadulano I see no problem on my Mac with master branch.
or
It is troublesome that simple commands is not know to everybody. |
What command do you mean specifically? I'm just testing |
Old There is PR which provides reasonable solution for python on all platforms - including Windows and Mac. It is pending since January. |
@linev Vincenzo was referring to this version of rootbrowse, so Python is not involved. We later found that the web graphics was not actually "hanging", but rather opening a window in another desktop without moving automatically to it - this is obviously better than hanging, but still not a great experience for a user. Is it expected to do that or should the web window also get focused automatically (like the classic graphics do)? |
c4a9972
to
99d004f
Compare
I do not have control over desktop applications when starting external browser via the shell functionality. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Tested on my MacOS ARM laptop, works with both traditional graphics and web graphics, thanks!
Similarly to #19305 with rootls, this PR replaces
rootbrowse.py
with a native version.Since rootbrowse is just a thin wrapper over TBrowser, this change is much smaller than for rootls and should be quite straightforward.
NOTE: the new rootbrowse is currently untested on Windows and Mac, so before merging this I would much appreciate if someone could help me with that.
Checklist: